package org.jeecg.report.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 设备故障分类统计
 * @Author: LiCY
 * @Date:   2023-12-19
 * @Version: V1.0
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="eqp_fault_history对象", description="设备故障分类统计")
public class EqpFaultHistory implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键ID*/
	@Excel(name = "序号", width = 15,orderNum = "1")
    @ApiModelProperty(value = "主键ID")
    private Integer recId;
	/**更新时间*/

	/**产线或产线组*/
	@Excel(name = "产线或产线组", width = 15, dictTable = "mes_line_cfg", dicText = "LINE", dicCode = "LINE",orderNum = "2")
    @ApiModelProperty(value = "产线或产线组")
    private String line;

	/**工站*/
    @ApiModelProperty(value = "工站")
    private String op;
	/**工位*/
	@Excel(name = "工位", width = 15,orderNum = "3")
    @ApiModelProperty(value = "工位")
    private String stn;

    @Excel(name = "日期", width = 15, format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "更新时间")
    private Date ctime;

    @ApiModelProperty(value = "开始时间")
    private String sDate;

    @ApiModelProperty(value = "结束时间")
    private String eDate;

	/**错误代码*/
    @ApiModelProperty(value = "错误代码")
    private String name;

	/**工单ID*/
    @ApiModelProperty(value = "工单ID")
    private String woid;

	/**产品或者产品组*/
    @ApiModelProperty(value = "产品或者产品组")
    private String partno;
	/**设备状态ID*/
    @ApiModelProperty(value = "设备状态ID")
    private Integer macId;
}
